<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
class ar_Invitation extends Entity {
	// id = autoincr - email - activated = false - canceled = false - session_id
	function ar_Invitation() {
		parent::Entity();
		$this->config('invitations');
	}
	
	function email_exist($m) {
		$this->reset_vals();
  	$ret = $this->load(array('email' => $m));
  	$this->reset_vals();
  	return $ret;
	}
}
?>